PostgreSQL fixes

Fix instances of "unsigned" being used in CREATE TABLE queries
Change "ip" column in log_online to bigint due to Postgres not supporting unsigned ints
Remove "ENGINE=MyISAM" from a CREATE TABLE query