Add api/stats/posts, refs T98

Test Plan:
```
bin/behat -f progress -c application/tests/behat.yml application/tests/features/api.stats.feature
```

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: srutto, sebm90

Maniphest Tasks: T98

Differential Revision: https://phabricator.ushahidi.com/D238
Revert loss of API Formatter in rUSH6b859b8f5004, refs T98
updated .gitmodules for ushahidi forks
updated gisconverter repo name
Update Gisconverter to new version, move to composer.json, fixes T539

Summary:
- switch to Symm/Gisconverter, update license
- rebase toGeoArray patch [with PR](https://github.com/symm/gisconverter/pull/8)
- switch from submodule to composer
- change usage to match new structure

Test Plan:
```
git submodule sync
composer update
bin/behat -f progress -c application/tests/behat.yml application/tests/features/posts/api.geojson.feature
bin/phpunit -c application/tests/phpunit.xml application/tests/classes/Util/BoundingBoxTest.php
```

Reviewers: rjmackay

Reviewed By: rjmackay

Subscribers: srutto, bodacea, dkobia

Maniphest Tasks: T539

Differential Revision: https://phabricator.ushahidi.com/D261
Gisconverter PR merged, update composer.json, refs T539
updated bower.json version
Implement Message Activities Feature, Fixes T450

Summary:
- Fix the broken Activity link so when you click on it it shows the hidden content.
- Replace the dummy content with the actual activity content.
- When there is no activity on a message, replace that with an empty view saying, No activity on this message

Test Plan:
- Go to #messages
- Click on `Activity`
- See posts details display
- Otherwise see `No activity on this message`

Reviewers: shadowhand, rjmackay

Reviewed By: shadowhand, rjmackay

Subscribers: seth, srutto, lkamau

Projects: #ushahidi_platform

Maniphest Tasks: T450

Differential Revision: https://phabricator.ushahidi.com/D242
Update message list when a message is archived, refs T450

Summary:
 - Call fetch on the model after a success archive or unarchive action.
 - Change `Archive` label to `Move to Inbox` after a message has been archived.

Test Plan:
 - Go to #messages
 - Click on `Archive` to archive the message
 - See the page refresh and `Archive` link change to `Move to Inbox`

Reviewers: rjmackay, shadowhand

Reviewed By: shadowhand

Subscribers: srutto, lkamau

Maniphest Tasks: T452

Differential Revision: https://phabricator.ushahidi.com/D229
Implement media delete with use case, refs T444

Summary: - includes the possibility of ownership checks, but does not use them

Test Plan:
```
bin/phpspec run spec/Ushahidi/Usecase/Media/DeleteSpec.php
bin/behat -f progress -c application/tests/behat.yml application/tests/features/api.media.feature
```

Reviewers: eyedol, dkobia, rjmackay

Reviewed By: rjmackay

Subscribers: bodacea, srutto

Maniphest Tasks: T444

Differential Revision: https://phabricator.ushahidi.com/D225
Oops, forgot to add assertions to D225, refs T444
Add Phinx migration tool, replaces Minion, fixes T235

Summary:
- add phinx to composer
- add phinx config, passes kohana config into phinx
- add initial migrations: database structure and relations

Test Plan:
**Back up your existing database!** and create a new one, then run phinx:

```
bin/update
bin/phinx migrate -c application/phinx.php
bin/behat -f progress -c application/tests/behat.yml
```

Reviewers: dkobia, eyedol, rjmackay

Reviewed By: rjmackay

Subscribers: srutto, bodacea

Maniphest Tasks: T235

Differential Revision: https://phabricator.ushahidi.com/D239
Update Travis config for replacement of minion, refs T235
Remove minion migrations entirely, refs T235

Test Plan:
```
git submodule sync
```

Reviewers: eyedol, rjmackay

Reviewed By: rjmackay

Subscribers: PapaLee, lkamau, dkobia, srutto, bodacea

Maniphest Tasks: T235

Differential Revision: https://phabricator.ushahidi.com/D264
And also the module reference, refs T235
update composer.json with project info, refs T539
Move A1, A2, and ACL modules into composer, refs T539

Summary:
- remove submodules, define composer packages
- require password-compat via composer
- update modules config

Test Plan:
```
bin/update
bin/behat -f progress -c application/tests/behat.yml
```

Reviewers: eyedol, rjmackay

Reviewed By: rjmackay

Subscribers: srutto, bodacea, dkobia

Maniphest Tasks: T539

Differential Revision: https://phabricator.ushahidi.com/D266
Replace Imagefly module with composer, refs T539

Summary:
- updated to latest version of Imagefly
- modified and sent PR for `source_dir` addition: https://github.com/Bodom78/kohana-imagefly/pull/12
- updated module reference and config

Test Plan:
```
git submodule sync
```

Manually verify that output of API call to `/media` works as expected using the API explorer.

Reviewers: eyedol, rjmackay

Reviewed By: rjmackay

Subscribers: srutto, bodacea, dkobia

Maniphest Tasks: T539

Differential Revision: https://phabricator.ushahidi.com/D265
Put composer.lock under revision control, refs T539

Summary:
Adding `composer.lock` to the repository makes `composer install` much faster.

Using `composer update` should only be used to update the locked versions or after changing `composer.json`.

Test Plan:
Check out a fresh version of and run

```
arc patch --nobranch D268
bin/update deploy
```

Reviewers: rjmackay, bodacea

Subscribers: spaudanjo, srutto, eyedol, dkobia

Maniphest Tasks: T539

Differential Revision: https://phabricator.ushahidi.com/D268
Update composer.lock after removing submodules, refs T539