Redesigned framework to accommodate multiple REST api versions

Had to redesign the framework. Version support is handled in the OSM_Support object and will now offer a way to find out what features are supported for each version, as well as provide a correctly formatted URL for REST calls.

The pull request also includes an improved settings manager and the capability to prerender pages