Global/Database.php
- Table prefix was not getting set from config.php file

Global/Database/Resource.php, Global/Database/Table.php 
- Moved addfield methods out of resource
Merge branch '1.8.1' of github.com:AppStateESS/phpwebsite into 1.8.1