CS-4399: Map search does not work
* loaded externally when mysql path set
Merging missing cs-4465-geonames-loading branch
Updates sql core and demo files with latest db changes from rolls.
CS-4553: user_identity table is missing in upgrade and demo installations

Adds create table to demo tables sql file
Adds create if not exist to latest db roll
MOTM-354: Server error when trying to access an attached file.

Adds inclusion of db_connect.php to Attachment class.
Fixes demo database by removing obsolete tables and adding missing fields and indexes.
Updates info files for 4.1.0 release
Re-creates demo data to fix missing geo-locations and unlock articles.
Updates demo data.
Adds create table if not exists for user_topic table.
CS-4559: Error on upgrade if indexed column exists in Articles table

Handle upgrade via php and catch exception.
Fix script name in sql.
Merge branch 'cs-4559-upgrade-indexed' of https://github.com/petrjasek/Newscoop into v4.1
Add solr_index template.
Merge branch 'newscoop-solr-template' of https://github.com/petrjasek/Newscoop into v4.1
Adds commented out search solr form to the new custodian theme header template.
Removes crlf endings
Fixes demo schema by dropping webcode table before creation.
CS-4563: User editing in back-end allows for cross-site scripting

Cast user id parameter to int.
Cast language id parameter to int and fixes error on not found language.
Merge remote-tracking branch 'holman/fix-user-edit-injection' into v4.1