This is extracted from the layer-manager branch. With the following
changes:
* Renamed references of layer manager to collections manager
* I didn't include the editors/space_collections/ draw and util files.
I still need to bring the drawing code here, so we see something.