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

See #2651

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

git-svn-id: http://svn.osgeo.org/postgis/trunk@12261 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/trunk@12262 b70326c6-7e19-0410-871a-916f4a2858ee