Fixes for parsing issues with <instance> elements having blank template bodies
Merge branch 'master' of https://github.com/dimagi/javarosa
profiled micro-optimizations
dangerous caching changes (Note: These may mess up repeats or any complex multiplicity/wildcard situation)
Fix for data instance not getting statically initialized in some circumstances
Improved caching lookup

Moved some treereference equality methods to the nested class to remove redundant code and speed up equality driven references.
element traversal speedups
Rollback of treeelement changes
Lots of optimizations to how long (very long) it takes to compare xpath expressions and such, which is a super common operation for the dependency DAG resolution algorithm
Merge branch 'master' into performance_rewrites

Conflicts:
	core/src/org/javarosa/core/model/FormDef.java
	core/src/org/javarosa/core/model/condition/EvaluationContext.java
	core/src/org/javarosa/core/model/instance/DataInstance.java
	core/src/org/javarosa/core/model/instance/TreeElement.java
	core/src/org/javarosa/core/model/instance/TreeReference.java
	core/src/org/javarosa/core/services/locale/Localizer.java
	core/src/org/javarosa/core/services/locale/TableLocaleSource.java
	core/src/org/javarosa/core/util/externalizable/ExtUtil.java
	core/src/org/javarosa/xform/parse/XFormParser.java
	core/src/org/javarosa/xpath/XPathConditional.java
	core/src/org/javarosa/xpath/expr/XPathFilterExpr.java
	core/src/org/javarosa/xpath/expr/XPathFuncExpr.java
	core/src/org/javarosa/xpath/expr/XPathPathExpr.java
	core/src/org/javarosa/xpath/expr/XPathQName.java
	core/src/org/javarosa/xpath/expr/XPathStep.java
	core/test/org/javarosa/core/util/test/ExternalizableTest.java
Update TreeReference.java

comments and tab corrections
Update TreeReference.java
Update TreeReference.java
Update Localizer.java
Merge pull request #13 from dimagi/performance_rewrites

Performance Improvements