Writing authentication
removed profiles/receiverconf tables,handlers,logic
Fixing authentication, and providing unittests for rest modules
Generalize authentication environment for all handlers.
Warning, unused imports have not been checked
:
moving unused/failing tests to _oldtests and removing _oldtests.__init__ to have a trial clean log
Merge pull request #63 from mmaker/feature/testhandlers

Feature/testhandlers
fixed minor syntax bugs
stupid errors all over the code\!
Merge remote-tracking branch 'origin/features/testhandlers' into feature/testhandlers
integrated DB with Auth, implemented tests
Mock the write of of BaseHandler to write to a mock transport
Receiver.username randomly generated by GLB
mistake fixed (forgotten 'password' in Receiver serialization)
Merge remote-tracking branch 'origin/master' into feature/testhandlers
having a test really using the database
Substituting prints with logging messages, to keep tests clean
moving globaleaks.amin in globaleaks.config.main. Yes, tha's dirty
moving config.py to a settings.py
cleaning up the config module after migration
fixed R1 and implemented test