Added back support for browsers without requestAnimationFrame
Added bglayer, ailayer and entitieslayer map properties.

Now the map designer is able to choose names for the three special
layers