resource: refactored get_request_method.

using dict.get with 'GET' how default value instead try/except.
resource: added data property.
getting schema url from header:

Related to #2.
simplifying the resource.url.
caching resource data and response.
renamed requestmethod to request.
removed unused attribute from request.
removed unused import.