Library (#1031)

* Switch all BUILD files to embed

Rather than the deprecated library attribute

* Move deprecated library attribute handling to the wrappers

This means the rules just deal with embed.
32 files changed