[Swift] Add "_owner" property to FHIRElement

This is needed to resolve contained resources that are referenced in a nested element (e.g. medication in medication dispense's dispense).
This commit also makes the Swift class template a bit cleaner and no longer maps JSON-bools to Int.