Fix ambiguous query in tickets.sql when raster support is loaded

See #2651

git-svn-id: http://svn.osgeo.org/postgis/branches/2.1@12263 b70326c6-7e19-0410-871a-916f4a2858ee
Fix --extension --upgrade handling

git-svn-id: http://svn.osgeo.org/postgis/branches/2.1@12264 b70326c6-7e19-0410-871a-916f4a2858ee
Fix AGG signatures with multi-word typenames

For example... "double precision".
This fixes upgrades involving drop/recreate of aggregates

git-svn-id: http://svn.osgeo.org/postgis/branches/2.1@12265 b70326c6-7e19-0410-871a-916f4a2858ee