[#52] Added support for functions in expressions.

Currently there is only sqrt() and it only works on integers.
[#52] Added memory tests and split MemorySuite
[#52] Split huge EagleDbSqlExpression_CompilePlanIntoBuffer_() into smaller peices.
[#52] Leaks and coverage
fixes #52