Fix bug if per_page passed as string
Merge pull request #9 from cosm/string_params

Fix bug if per_page passed as string