Fixed S3Storage.list_directory when root_path is /
added path: to the tag urls so that it will work with the new source push/pulls
Code cleaning in order to make the index module more consistent with the rest of the code base (indent, 80 columns, etc...)
Fake Index module can now be loaded according to a configuration directive named standalone
Reworked storage path helper. Removed DELETE repos because it is already handled by the tags module
Factorised most of the routes + general code refactoring
Implemented unit tests for the Index module + fixed few bugs
Merge branch 'pr-17'
Code cleaning: PEP8 compliant
Manually patch applied from pull request #16 (cannot rebase automatically)
renaming DELETE call on a repos
Fixed test debug data + URL routing issues
merge
added some debugging statements and added a fix for checking tokens for source push/pull/delete
Merge pull request #18 from kencochrane/master

Added fix for checking tokens for SOURCE repos
Removed blank lines to be consistent with the rest
Stripped line (flake8 complained)
Added decorator to encode repository names
Merged encode_repository_name and parse_repository_name helpers
Fixed return code for Index /images route