PEP8 cleanup

Cleaned up some PEP8 errors.
Added location_abs_url, set_location()

* Added property location_abs_url and method set_location()
* Added tests