add emulate booleans option for derby adapter
add tests for derby emulate booleans option
Merge pull request #533 from mark100net/derby-emulate-booleans-option

add emulate booleans option for derby adapter