modifying page_object.urlparse so that it works for python version 2.7.7+

@clytwynec @jzoldak 

https://openedx.atlassian.net/browse/TE-393
Looks like the typo came back somehow...