Add PostgreSQL support

Clean up the last mysql db queries. Fix insert sql query. Add in postgre
install and uninstall details. Close #38