(CS) Add link to songs in agenda
Finalize 2.42
(Cal) Add some preconfiguration to permissions
(CS) Added textarea to agenda inputs for servicegroups
Some minor bugfixing in CS und CDB
Remove mysqli use

This replaces mysqli use with PDO hardcoded to mysql.
Consolidate all db schema changes in a single file

Handle all schema migrations through a single switch statement
where updates fall through. No need for loops or magic function
invocations.

The schema for the initial database setup was reverse engineered
by taking the old schema_install.sql (which was equivalent to v2.36's
schema) and unapplying all older changes as relevant (column type
changes were ignored since they become no-ops)

While at it, fix support for table name prefix: Both the database
initialization and later update steps failed here.

After every version, the php timeout is reset to 300 seconds.
Nicer message on initial db install
enforce utf8 with mysql
defuse umlauts

Also add missing default wiki entry and
permission to see church service calendars
for the anonymous uesr.

With this commit, a new install is identical
to old style installs except for timestamps
and some row orders.
Test for PHP >= 5.2.0
Use password_hash() if possible

It provides a future proof interface to stronger password hashes than plain MD5.
Unfortunately it's a rather new feature (PHP 5.5), so use MD5 as a fallback.
(A future change might import the password_hash polyfill that works with >= 5.3.7)

The change also avoids a possible lock-out bug in case passwords were entered with
leading or trailing spaces by handling password hashing the same everywhere.
Add password_hash polyfill

This allows using password_hash with php >= 5.3.7
(or even earlier with a certain feature backported)
Merge pull request #8 from pgeorgi/version-test

Test for PHP >= 5.2.0
Merge pull request #9 from pgeorgi/password-hashes

Use password_hash() if possible
(Cal) Fix iCal format and anonymous view
Merge pull request #7 from pgeorgi/db

Remove direct mysqli use
(CW) Bugfix creating wiki categories
Merge branch 'master' of https://github.com/churchtools/churchtools_basic
(CR) Bugfix Date exceptions and additions für Resources from Calender