Enable push state and urls with no #

Summary:
- Enable pushstate and update UI route to get served for other urls
- Capture clicks on links and avoid reload from server
- Wrap urls with handlebars helper to include base url and remove links to #
- Fix url collision on "Manage users"
- Fix baseurl and other url handling to work in subdirectories too

Test Plan:
- Load UI and navigate around watching URLs
- Check you can log in/out
- Check UI works when deployed to a subdir or with index.php in urls

Reviewers: dkobia, eyedol, shadowhand

Reviewed By: shadowhand

Maniphest Tasks: T348

Differential Revision: https://phabricator.ushahidi.com/D196
Move frontend route to routes/default: Fixes smssync/frontlinesms routes going to index
First cut at adding npm and bundle to bin/update

Summary: Added npm configs on the package.json and the bundle dependencies on the gemfile for use by bin/update

Test Plan: None

Reviewers: shadowhand, rjmackay

Reviewed By: shadowhand, rjmackay

Subscribers: brianherbert, rjmackay

Maniphest Tasks: T471

Differential Revision: https://phabricator.ushahidi.com/D241
Tweak installer before release, refs T138

- change powertip placement
- remove "installing" footer
- remove install button
Use Ushahidi_Api::url() in models

Summary: Stop repeating API url building code

Test Plan: Confirm API urls are the same

Reviewers: eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D246
Remove junk from puppet files

Summary: Remove PHPUnit and nginx puppet manifests

Test Plan: Run `vagrant provision`

Reviewers: dkobia, eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D248
Implement Message's actions for mobile devices, fixes T466

Summary: - Add .js- selector used for desktop devices so it trigger the actions

Test Plan:
 - Go to #messages
 - Resize browser window to a small size
 - Click on actions
 - See a dropdown appear
 - Click on an item to perform an action

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: srutto, seth, lkamau

Maniphest Tasks: T466

Differential Revision: https://phabricator.ushahidi.com/D230
Move modules/Ushahidi -> web/

Summary:
Move modules/Ushahidi -> web/
Replace all references to UshahidiUI with web/

Still a kohana module but a precursor to T211

Test Plan: - Check UI still loads

Reviewers: eyedol, shadowhand

Maniphest Tasks: T211

Differential Revision: https://phabricator.ushahidi.com/D245
Delete js tests - not working anyway

Summary: NA

Test Plan: NA

Reviewers: eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D247
Remove 'kohana' from media URLs

Summary:
Remove 'kohana' from media URLs
Update paths for new media urls

Test Plan:
- Check UI loads OK
- `./bin/behat -c application/tests/behat.yml -f progress application/tests/features/api.media.feature`

Reviewers: eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D251
Oops, forgot to bump bower.json version
Move compass config to top level

Test Plan: Run `grunt compass`

Reviewers: seth, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D249
Standardize config urls to end with /

Summary:
Avoiding my own confusion when splitting out the UI by making sure
all the URLs we pass in to window.config end with a /

Test Plan: Check UI loads OK

Reviewers: eyedol, shadowhand

Reviewed By: shadowhand

Differential Revision: https://phabricator.ushahidi.com/D252
remove 'uid' from media route
Fix a few broken API URLs in JS, refs D252
Fix broken pushstate routing for api explorer, refs D196
WIP: alert system ui
WIP: experimenting with alert stuff
WIP: alerts frontend
WIP: alerts frontend