Refactor new user session js functionality

- Login link listener now calls sessionsController.getUserForm()
- Login form submit listener now calls sessionsController.authenticateUser()

- Dom elements are hard coded in controller - need to remove
- SessionsView should take arguments instead of hard coding
Merge pull request #201 from spring-peepers-2014/technical-debt-begone

Refactor new user session js functionality
Change confirmed user stubbed guest attribute to false
- Confirmed users are not guests and it was previously set to true when it should've been false
Add validation for presence of latitude and longitude
- All users, even guests, should have a latitude and longitude
Uncomment rspec tests for latitude and longitude for users
- Also move the tests up in the user model spec file for testing readibility
Add test for allowance of nil guest phone number
- Since guests have a User record created upon visiting the website, their phone numbers will be nil because they haven't given us that information yet
Add presence of name validation for confirmed users
- When users signup, their guest attribute becomes false so the validator will make sure that the user's name is no longer nil
Add test to validate presence of name for confirmed users
- When users are no longer guests (after signup) and become confirmed users, the User model will validate the presence of the users' names
Move jquery event listeners to initialize.js

- application_controller will now container Shogogo.Controller
- refactored initialize.js will initialize new objects and remove all listeners
Set guest attribute to true in spec test for guest users
- Before running the spec test for guest users, the User guest attribute is set to true
Add test that should not validate the presence of guest names
- Since User records are created for guests, the name presence validtor should not validate guest names because they have not provided the program with that info yet
Add SearchController.js

- Move search view manipulation from sessions and favorites controllers
- Add Shogogo namspacing
- Instantiate SearchView.js
- SearchView takes an object of dom elements as an argument
Refactor session event listeners

- Remove jquery event listener for user login link
- Instantiate view with object containing dom elements
- Add Shogogo namespace

- Edit application.js manual order of js assets
Merge pull request #202 from spring-peepers-2014/technical-debt-begone

Technical debt begone
Edit validation for unique phone number
- Validation for unique phone number only works when the guest is no longer a guest
- Guests cannot be validated for unique phone numbers because they haven't given us that info yet so all guests will have nil as their phone numbers
Add tests for validation of unique phone numbers
- Guest users don't need unique phone numbers because all guests phone numbers are nil
- Confirmed users will be validated phone numbers
Merge pull request #203 from spring-peepers-2014/User_Model_Spec

Add more User model spec
Rename instantiated view in SearchController

- Now searchView isntead of view
- Update reference in controller
- Update new controller action in initialize.js
Refactor FavoritesController

- Add Shogogo Namespacing
- Instantiate new view - will contain object of dom elements
- Next refactor will move all favorites related event listeners into controller
Refactor application namespacing

- All functions are now properites of global variable Shogogo
- Add methods for manipulating dom in application view