Moved OpenLayers map into a directive

Fixes #72
Merge pull request #73 from NESCent/map-in-directive

Moved OpenLayers map into a directive