[#2641] Adapt dataset map to new theme

The new theme is based on Jinja2 templates. Extensions can define their
own snippets, which can used when creating custom themes. In this case
two snippets have been created, one showing the map on the primary area
and the other on the sidebar.
[#2641] Move snippet template to follow new convention
Merge branch 'master' into 2641-spatial-widgets-new-theme
[wms] More flexible wms format check
[wms] First go at adapting the WMS previewer to the new theme
Merge branch '2641-spatial-widgets-new-theme' of github.com:okfn/ckanext-spatial into 2641-spatial-widgets-new-theme
[wms] Support for map param
[wms] Fix typo
[wms] Fix small bug
Update jquery path
Update WMS viewer prototype to work with the new iframe on resource read page
Merge branch '2641-spatial-widgets-new-theme' of github.com:okfn/ckanext-spatial into 2641-spatial-widgets-new-theme
Minor model tweaks to support parsing generic ISO documents
Add validator for ISO 19139 NGDC XSD schema
Add validator for FGDC XSD schema
Allow to define the validation profiles via source config

The profiles used are decided as follows:

1. 'validator_profiles' property of the harvest source config
object
2. 'ckan.spatial.validator.profiles' configuration option in
the ini file
3. Default value as defined in DEFAULT_VALIDATOR_PROFILES
Better check for config object
Don't trust the number of records returned by the remote server

Sometimes, even when requesting 10 records, the CSW server returns less
of them (see eg http://goo.gl/b7Rdj, only 9 records returned). The
current check made the process stop on this case, missing other
identifiers.
Merge branch 'csw-harvester-enhancements' into release-v2.0
Merge branch '2641-spatial-widgets-new-theme' into release-v2.0