chg: more misc code quality fix-ups
chg: more misc code quality fix-ups

- Replace call to str() with py2/3 compatible util.unicode method
- Rename camelCase method _autonameInputs to snake_case
- Remove unnecessary escapes for regex characters # and |
- Mark staticmethods as such
- Move ODK validate runner section to new method to simplify test method
- Replace e.message with unicode(e) since the former doesn't work in py3
- Replace "text" iteration variable that shadows outer scope variable

XLSForm/pyxform,XLSForm/pyxform