Fix datetime comparison in relative datetime functions.
Closes #2987,#3514
Adding a very sketchy version of find('all') at table level
Adding defaultTypes method to Database\Query to ease some tasks in the
ORM
Merge branch '3.0' into 3.0-model
Implementing auto casting from correct type for fields in schema when
using Tabel::find()
Some refactoring in the way results are groupped and how the find query
is constructed
Small refactoring and beginnings of a flyweight for table objects that
will replace ClassRegistry
add schema param and skip interactive prompts if unnecessary
Adding a simplistic implementation of contains, only for belongsTo and
hasOne associations
Adding fields for contained tables when the 'fields' key is defined
Adding all association fields to the select if none is specified
Making it easy to prevent association fields be selected by default
Small refactor and finally testing that results are groupped correctly
for contained tables
Removing unneded typecasting
Fixing last minute syntax error
Start working on the MySQL schema creation.
Add more column types and wire up mocks better.

Since I moved around connection logic on a different branch, these
tests are a bit more manageable. Update to reflect the changes
elsewhere, and approach completion on the first create table generation.
resolve unnecessary naming conflict in SQL dump output
adjust dbo source for sqlLogs variable
Merge pull request #1271 from dereuromark/2.4-sql-dump-element

resolve unnecessary naming conflict in SQL dump output