Backported thrift warning fixes, bump thrift submodule hash

Also removed a couple more not-needed-by-hhvm dirs from cmake
Merge pull request #35 from djwatson/master

Backported thrift warning fixes, bump thrift submodule hash