Use custom units and digits in field display and editing

* Add helper functions to units.py
* Make sure plot & tree fields have "in request.instance" so they'll use custom units and digits
* Format display values client-side on form save (digits, units)
* ignore .orig files (generated by kdiff3)