Reverted Upload.as and upload.swf to versions without debug code
Added new field to apikey model for terms of service
Added terms of use to bottom link and to api key registration form (actual tos text must be placed in the wiki)
#487 Now correctly saving accepted tos field for api key
#487 Adding accpected_tos field to the profile model
#487 added mandatory field in registration form to accept tos
#487 Added middelware class to check if authenticated users have accepted tos, if they have not redirect them to an acceptance page. Acceptance page still lacks some nice text
#487 added migration file for account model (forgot to add it before)
#487 improved middelware logic
#487 Updated again the middelware logic for checking TOS to work properly
#487 Updated text of tos acceptance page
#487 Also allowing contact form while not accepted tos
#487 Updated text of tos acceptance page
#487 Updated text of tos acceptance page (2)
#487 Updated text of tos acceptance page (3)
Fix grammatical error on user profile page
Fixes for infinite loop on accepting tos and having old licenses
Merging with master