Modified crop-to function to use self.layersById rather than self.layers
Addded a bbox if it didn't exist on a geometry to be cropped
Merge pull request #66 from timfernando/master

Sometimes when using "crop-to" in a layer config an error is thrown due to a missing bbox