Remove unused syntax handling code, and add test for syntax errors
Add py26 support and update README