Strip addtional characters from url parameters (closes #78) and remove circular require (closes #66).