Merge pull request #115 from davidw/master

Fix for #112
Added boss_db:migrate support in Mnesia.
Merge pull request #116 from entronic/master

boss_db:migrate support in Mnesia
ets cache is default
Merge pull request #119 from cuongth/master

Support ETS cache with TTL
Build insert and update with equery.

Thanks to tonghu008@gmail
add terminate/1 for adapters
Merge pull request #122 from cuongth/master

Add terminate/1 for adapters
Fix up terminate/1 calls
Don't terminate undefined connections
Don't try to save undefined values

Postgresql adapter fails if we try to save undefined as date.

Just skip undefined fields and don't save them.
Merge pull request #126 from maxlapshin/patch-1

Don't try to save undefined values
Pack undefined datetimes
Add a rebar plugin to compile models
Merge pull request #127 from rtsisyk/rebar-plugin

Add a rebar plugin to compile models
Fixed sorting by non-text fields in Tokyo Tyrant adapter.
Merge pull request #130 from entronic/master

Fixed sorting by non-text fields in Tokyo Tyrant adapter.
remove mochihex:to_hex deps, for project not using mochiweb as webserver
Merge pull request #131 from mihawk/master

remove mochihex:to_hex deps, for project not using mochiweb as webserver
Fix foreign key issue with -columns and SQL