lots of fixes, read the commit messages

also fixes adelevie/parse-ruby-client#27 and adelevie/parse-ruby-client#60