postgis: use max float for no-op bbox token - closes #2158
remove unused variables
use make_unique
fix c++11/clang-3.4/linux compile issue - closes #2022