Fixes erroneous misformatting of top-level $and/$or clauses
Fixed typo "poll" should be "pool"
Merge pull request #367 from Tape/master

Document the findBy... method for hasOne associations
Merge pull request #366 from BelfordZ/patch-1

Fixed typo "poll" should be "pool"
Merge pull request #365 from rafaelkaufmann/master

Fixes erroneous misformatting of top-level $and/$or clauses
Fix and improve TypeScript declaration

Now we can use helper functions like orm.ge, orm.like, ecc in Find
Now in TypeScript we can use find chain

Now it's possible to do thing like
```TypeScript
req.models["users"].find({ "counter": orm.lte(25) }).each((user) => {
console.log(user["counter"]);
});
req.models["users"].find({ "counter": orm.between(1, 205)
}).each().filter((user) => {
return (user["counter"] % 2) === 0;
}).count((num) => {
console.log("Users with counter between 1 and 205 and with even counter:
"+ num);
});
```
postgres: always save object as Buffer

There is either a problem with Dialect.escapeVal,
or a problem with postgres 9.3 when casting string
to bytea. Some strings are not accepted (because of \ ?)
Merge pull request #369 from nerdzeu/master

Fix and improve TypeScript declaration
Fixes bug based on @jperdereau comment (#325)

Thank you!
Merge pull request #378 from kapouer/pg-bytea

postgres: always save object as Buffer
Typo in property definition

There is much dispute about the name of this attribute, but the EMCA6 spec says 'writable' not 'writeable'. Spent some time trying to figure out why we could not get spy's in our testing libs to run on instance methods... mystery solved!

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty
Adds rational option to properties if not defined (default = true)
Adds sql-dll-sync module, removes older DDL stuff
Merge pull request #382 from interlock/patch-1

Typo in property definition
Merge pull request #383 from dresende/ddl-sync

SQL DDL Sync