LW: use xpath instead of name for nested fields
LW: replace slashes with dashes for DOM selectors
LW, MB: Style changes
LW: pass xpath to view for lookups
Merge pull request #171 from onaio/use_xpath

Use xpath instead of name for nested fields