PyramidLevelLayer for spatial pyramid pooling [under development, don't merge]

This is a PyramidLevelLayer implementation, which can be used to build spatial pyramids, especially designed for #560.

I will add tests and update.