Rspec boolean methods update

`be_true` and `be_false` are deprecated on newer versions of rspec. we should replace them.
Also the first commit on this, fixes a API returning issue where `uses_path_versioning?` should return a boolean.

review @dblock