Add caching and method queryExists to LinkedData-Helper

Method queryExists checks if a resource given by a URI exists or not.
All resources retrieved during one HTTP-request with the LinkeData_Helper will be cached.