Need to cleanup some, but start to show public key for /key/username
add dump_design_docs to CouchRest::Model::Utils:Migrate

This is similar to the migrations but instead of uploading the design
documents to couch it stores them in
  tmp/database/design.json
within the rails directory.

database is the supposed database name without prefixes or suffixes
design is the name of the design doc CouchRest model would have created

The files also contain a couchrest checksum so couchrest can detect they
are up to date.

This commit also cleans up a few redundant things in the extension to
CouchRest::Model:Utils::Migrate that we used to have. There's no need
to loop through the 'normal' models in load_all_models_with_engines
since load_all_models_without_engines already does that. We were also
overwriting all_models_and_proxies with exactly the same code as in
the original.
couchrest:dump task will dump all design docs
rake tasks clean up expired tokens and sessions (#4568)
Merge pull request #115 from azul/feature/dump-design-docs

Enable dumping design docs to files
Merge pull request #116 from azul/feature/rake-tasks-for-cleanup

rake tasks for cleanup
Merge branch 'develop' into feature/return_public_key
Refactoring of code, and tests.
Give 404 error if one goes to /key/user for non-existing user.
Merge pull request #117 from jessib/feature/return_public_key

Feature/return public key
Merge remote-tracking branch 'origin/master' into develop
Version 0.2.8 - release candidate

* Return public key on /key/:login
* rake tasks clean up expired tokens and sessions (#4568)
* rake task to dump design docs to files
* add dump_design_docs to CouchRest::Model::Utils:Migrate
* rename ticket title to subject