Changed authenticator to include realm
Fixed EitherValidation
Merge remote-tracking branch 'extendedmind/master'
Merge remote-tracking branch 'extendedmind/master'
Intermediate commit
Backend responds to PUT commands correctly
Merged and fixed conflict
Refactored production code into 'em.controllers', 'em.directives', 'em.filters' and 'em.services' modules (+  'em.app' and 'em.base64' module). Organized .js files into folders in correspondence with files' module. Same goes with unit tests and other non-production code.