Removing unused code
Removed unused function parameters
Adding braces to if conditions to be consistent with the rest of the file
DRYing up these two if conditions
DRYing up the error handling in oauth.js
DRYing up model data usage
Moving duplicate functionality of generating tokesn to a generic function
Moving errorHandler function to generateTokens function
Removing jshint annotations
Removed dead code, added braces for consistency, added semicolon
Merge branch 'auth-code-cleanup' of github.com:jaredmcateer/NodeAPI