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
Implement eager loading for SQL databases
Add an example express app
Spaces -> tabs
Update anontxt readme
Merge pull request #393 from Tape/eager-loading

Implement eager loading
make some Model methods defined by `defineProperty` writable so they can be mocked by test suites in non-integration tests.
- writable added to some model instance defineProperty calls, some properties were left alone because they were static or had unknown function (isShell for example)
- added a model-remove test that currently only tests the writable aspect (there appears to be no direct test of this function, other than from the hooks tests)
Merge branch 'writable-files'
Merge pull request #399 from picatic/writable-files

Made some Model methods defined by `defineProperty` writable so they can be mocked
Merge remote-tracking branch 'orm2/master'