Moved sampling logic to GlobalCRS.js.
Moved painting logic to controller from directive.
Merge pull request #33 from bennlich/crs

First pass at GlobalCRS