Fix more info form when member logs in #300

* Check against needinfo field in the DB and show form
* Add password field to more info form
* Set needinfo field when creating user without name field
Scheduler: Check and increase max_execution_time if its too low

Related to #928
Scheduler: Add locking mechanism base on using mysql

Prevent multiple schedulers running at once. We create a fake
locking mechanism based on setting a flag in the settings table.

Related to #928
Optimize cleanup scheduler to only load image media type
Adding indexes based on @jetherton's blog post to speed up sql queries

Adding indexes based on this blog post: http://ethertontech.com/2012/09/28/optimizing-ushahidi-for-quick-reads-on-large-datasets/
Most of these are obvious and apply generally. I've skipped
the full text index on form_response since that won't apply to all users.
Fix /reports date filter: make 'All Time' filter work #91

Basically this just allows empty values for the from and to fields.
Allow date filters with only 'from' or 'to' value, not both

* Allow just 1 of from or to filters, don't require both.
* Check filter params are not empty, not just if they're set
  Avoids defaulting to filter by 1970-01-01
Merge pull request #1018 from rjmackay/additional-indexes

Adding indexes based on @jetherton's blog post to speed up sql queries
Merge pull request #1006 from rjmackay/member-more-info-300

Fix more info form when member logs in #300
Change github download link to reference the wiki
Implements twitter api changes - use of oauth2. Fixes #801
small edit to the FrontlineSMS admin view to update it for the 2.2 version #1034 #1053
fix a conflict
Merge branch 'develop' of https://github.com/ushahidi/Ushahidi_Web into develop
Site banner setting: accept jpeg and add error message. Closes #579

* Accept .jpeg too
* Add error message translation
Merge pull request #1020 from rjmackay/date-filter-fixes

Date filter fixes from uchaguzi
Merge pull request #1017 from rjmackay/scheduler-locking

Scheduler Improvements
Removing unnecessary files in teh twitter oauth library
Merge branch 'develop' of https://github.com/ushahidi/Ushahidi_Web into develop
Better XSS protection

* Add HTMLPurifier library (LGPL)
* Add helper functions to html helper
* Set default encoding header to UTF-8
* Make sure the doctype is the same everywhere (admin/members/frontend)
* Remove use of strip_tags() and htmlspecialchars()
* Replace vanilla htmlentities with html::escape() - make sure no one forgets the UTF-8
* Remove _csv_text() fn - no longer used and was using strip_tags()