Fix RestAdapter#ajax
Merge pull request #938 from teddyzeenny/fix-ajax

Fix RestAdapter#ajax to account for empty hash