Merge pull request #1115 from koushki/dev

Bug in Router::match using scope
Formatting.
Changing mock namespace of mock_database to database.
Adding REGEXP and SOUNDS LIKE operators to MySql adapter.

- Adding unit test.
- Adding mysql adapter mock for unit tests.
Merge pull request #1116 from davidpersson/feature/mysql-operators

Adding REGEXP and SOUNDS LIKE operators to MySql adapter.
Documenting links to initialized properties.
Specifying exact types instead of mixed in docblock.
Expanding and formatting docblocks of `Unit`.

- Rearranging and grouping methods.
Adding tests for constant time string comparison using integers.
Adding note about securely comparing strings.
Refactoring test error to exception coversion.
Cleanup after chmod; removing impossible tests and missed expectations.
Formatting.

- Fix message formatting in integration data base class.
- Reflowing library command docblocks.
- Fix casing of type class.
Removing some extract calls from Couch adapter.
Use matches for split field directly.
Cleaning up usage of autoConfig in Entity and Route.
Add headings to namespaces docs; update h hierachy.
Replace markdown curly braces with triple ticks and remove link hack.
Uppercasing readme filenames.
Fixing formatting of codeblocks.