Replace query with 'query'

To support building with R15.
Refs #12.
Make it build with R15

Don't use application:gen_env/3.
Don't use the surefire CT hook.
Refs #12.
Add R15 Travis build

Bump version to 0.1.2.
Closes #12.