Add query demangler for catching porny searches (issue #17)

Add getSearchTermFromURI to bpUtils.