Registry exposes repair/reindex functionality

Normally we only used this when performing upgrades, but
they're useful to be called explicitly if our registry has
inconsistencies.

They actually fixed my broken registry. :)
Added a `ckan repair registry` command.

Fixes #400.

Fark, our CmdLine is a mess. Going to try and clean it a little bit.
Actually *use* our download hints when downloading files.

Fixes #307
Added OSX condition to @CP
KSP_VERSION_MIN does not require KSP_VERSION_MAX
Merge pull request #417 from tips48/ksp_version

Make KSP_VERSION_MIN and KSP_VERSION_MAX independent
Merge pull request #405 from KSP-CKAN/400_registry_repair

Implement `ckan repair registry` command.
Merge pull request #410 from KSP-CKAN/307_fix_netkan_cache

Actually *use* our download hints when downloading files.
Merge pull request #414 from CodingWoes/413_mac_build_issue

Added OSX condition to @CP
Merge pull request #418 from AlexanderDzhoganov/master

GUI redesign - Part 2