First pass at removing inline javascript events and discuss with team

This is a sample of pulling out the javascript into jQuery bound event listeners - instead of using onClick and onSubmit events.

I added a couple of additional specs but tried not to change functionality as you had written it. 

However a few questions 
  - if you're using HTML5 required attribute - do we need to have js alert calls?
  - right now you didn't have any code if the login call failed. I threw in a small console.log but seems like you would want more.
  - also I accidentally left a couple troubleshooting console statements in the code we would want to remove them if we merged.