added test (#13)
improved variable name detection (#13)
improved variable name pattern according to definition at <http://www.w3.org/TR/2013/REC-sparql11-query-20130321/#rVARNAME> (#13)