Started fixing horrible pg to ruby encoding function
Added C stuff to gitignore