Update wms_layer.php

Added support to table_prefix. Tested in Ushahidi 2.7.4