Rails 4 Support (Updated, w/ smdern's patches) + Ms SqlServer Support

This patch includes smderns patches as well as my own. The uuid column type no longer collides with the Rails 4 uuid column type when it is defined in rails 4 postgres. This is only a partial fix however since rails 4 postgres uuid columns expect SecureRandom.uuid. IMO we should consider switching to that for compatibility.