Refactoring and fixes for tastypie authorization system.
Added an ExerciseLogCollection for doing query to get user's log.