fix format recognition in importRdf; refactoring, cleaning and function moving

add test case for Store to import rdf data over a given HTTPs address