Orm\Query::get_query() fixed ignore model connection setting

This was issue, if defined connection has different table preffix that default connection.

Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
Merge pull request #319 from feldsam/1.8/develop

Orm\Query::get_query() fixed ignore model connection setting