Added create_functions to be called the sync_pgfunctions command #4
Modified create_functions to mirror create_views #4
Added sync_pgfunctions command #4