add RDFTerm class, remove dependency from SmartWiki HTML helpers, migrate to curl/curl library