More spec coverage for Api class.
Changed signature for Api getter methods.
Added :page option to get_branch_history method.