Add Feature: Promise
Clean up some functions to use angular's methods (for checking if a var is a function)
Added function for determining if a deferred object should be rejected or resolved based on a returned status value.
Merge pull request #6 from TheSharpieOne/promise

Return Deferred/Promise
chore(*): arange files to new promise api