Clean up formatting, add beforeEach, fix name
Use ID's instead of incorrect, unused class names
Use stellarAPI module to abstract http requests
Test username availability in registration
stellarAPI -> stellarApi
Organize stellar-api into separate services
fetch username for inflation dest, if needed

I verified at a quick glance in services/contacts that the
fetchContactByAddress method will only make a request if the contact
isn't already stored in localStorage.
only fetch inflation destination if present

surprise: if you hit refresh on the settings page, for some reason the
inflation destination isn't ever valid. Let's not make our federation
request in that case.
Fixes #1003: properly specify the angular-route dependency
Merge pull request #1004 from jakswa/js/infl-dest-fed

fetch username for inflation dest
Merge pull request #972 from stellar/registration-tests-2

Registration tests 2
Adds segment.io keys to dev and stg
Adds segment.io user identification
Remove auto-matic page view event
Turn off automatic page view tracking (its duplicating views)
Add "Account Created" event and analytics reset code
Remove firstPageView event
Adds gateway events, fixes stale object in Gateway.add
Adds transaction event intstrumentation
Move identify into session.login