Auth module cleaning:
 * added apache licence preamble
 * deleted unused functions
 * renamed anonymous function expressions to named function expressions
 * refactoring
 * JSHint
Base/http module cleaning:
 * added apache licence preamble
 * refactoring
 * JSHint
Base/storage module cleaning:
 * added apache licence preamble
 * refactoring
 * JSHint
Base module cleaning:
 * deleted unused functions
 * refactored anonymous function expressions to named function expressions
 * added apache licence preamble
 * refactoring
 * JSHint