Copies goodies from brooklyn-opengamma repo

Adds generic entities and policies that are in brooklyn-opengamma project.
And gets them up to the quality required to be in core brooklyn (i.e. I wrote tests for them all).