Implement input plugin for PostGIS Rasters

Closes #1660.
Includes python bindings and testcases.