Strip non-alphanumeric characters from OCR output

Jersey/Winstone don't handle UTF8 well, so this should allow most queries to reach the API
Merge remote-tracking branch 'origin/master'