Fixed bugs with edit profile redirection

The edit profile page no longer saves data to the DOM model if a user
clicks the cancel button or redirects to a different page manually.
Added test for redirecting back to view profile

This test will make sure that the location after the redirect method has
been called is view profile. Had to inject service $timeout into test
code in order to be able to test the delay.
Remove unnecessary method

Got testing to work without it.
Merge pull request #30 from YfLn/master

Updating Richard branch from master
-Added template for Portfolio in View Profile page.
-Fixed an issue where 'x characters remaining' label in Edit Profile page would not reflect the actual amount of characters remaining.
-Minor change to the placement of descriptionShort in List Databases page.
-Added a constraint to the 'url' field of the Database server model to ensure that URLs begin with 'http://' or 'https://' and end with a TLD.
-Added a semicolon where a semicolon was needed in settings.client.controller.js
-Changed the URL label in the View Database page to a clickable link.
Merge pull request #31 from YfLn/Richard

Added template for portfolio in View Profile page, added constraints for database URL
Added test for cancelling edit changes

This test makes sure that the cancelChanges() method reverts the
Authentication.user back to the scope.originalUser
Added test to make check updateUser on frontend

This test checks to make sure the updateUserProfile() method correctly
updates the Authentication.user
-Updated database server model tests.
-Opening the home page while signed in will now redirect you to the Database List
Merge pull request #32 from YfLn/master

Updating Richard branch from master
Merge pull request #33 from YfLn/Richard

Database unit test changes and redirect when signed in
Added a test for changePassword form clearing

This test checks if the changePassword method clears the form after
receiving a successful message.
Added test for updateUserProfile

I need to make a branch now that I think about cuz I have already made
like 5 tests.
Added test for change password

Change password should display error message if update fails.
forgot to pull
forgot to pull, now commit the changes made for portfolio