Merge pull request #14 from comstud/mysqldb-dev

SQLQuery with where()/join() and transforming via models.
fix bugs with columns_to_join in instance_get_all