ENH: add locale, encoding, and template options to dbcreate

change default settings for locale, template, encoding

fix missing quotes

fix postgres dbcreate

BUG: fix dbcreate pattern
Merge pull request #9 from atmosfair/createdb

ENH: add locale, encoding, and template options to dbcreate
Picked from  DavidS@d16ec81 #10
Automatic README conversion from rdoc to md
Enabling Travis integration
Added Travis Status icon
Fixed service autorestart spec test
Added option to use official postgresql repos
Managing posftgres installation from different sources
Add variables for hba's header and footer templates.
version was ignored when use_postgresql_repo = true
Document expected behaviour of $version and $use_postgresql_repo
Typo
Merge pull request #12 from netmanagers/master

Added ph_hba concat templates, version logic missing default in init.pp
Include postgresql in dbcreate for process_user
Include postgresql in import for various variables

Also, change user and extract_dir defaults so they're
calculated after the include evaluates.
Correct version values for debian based distros

Debian should be correct and I think Ubuntu is
as well. Not as sure about Mint since I'm not
familiar with their repo system.
Merge pull request #13 from cdombroski/master

Correct postgresql version for Debian based distros
Merge pull request #15 from cdombroski/issue14

Include postgresql in defined types before using class variables
Delint my previous edit