Reviewer: Fixed save_request

AttributeError: 'NoneType' object has no attribute 'request_time'
Fixed Max URL levels

Moving is_valid() and count_url_levels() from facters to utils
Improving SyncCacheTest
Return the ID of the domain for every GET