Added profile link. Fixed database issues in dev mode. Made nickname editable.
Added initial modal for profile editing
added some initial ajax code
Fixed ajax update call
Wes's changes to profile edit with my tweaks.