Pmods for R16+ and updated tests

As per the discussion here https://groups.google.com/d/msg/chicagoboss/qncmQKXe6x0/211oeQTOS-kJ

I updated boss_db_test_app with bug fixes to run the tests.

However, make test_db_mock still just hangs there, but you can run the mock tests with:
``` shell
erl -pa ebin -pa deps/*/ebin
```
and when inside the erlang shell:
``` erlang
boss_db_test_app:start(a,b).
```