Refactoring Client.getApplications().
Refactoring Client.getApplications().

Adding JSdocs / cleaning up codez.

wakashige/stormpath-sdk-node,ck-lee/stormpath-sdk-node,peebles/stormpath-sdk-node,peebles/stormpath-sdk-node,stormpath/stormpath-sdk-node,stormpath/stormpath-sdk-node