Add terrain parsing support, update TMXDocument delegates, update examples.