Misc. changes

Changed behavior of Scene::visit to stop child traversal, but continue sibling traversal when false is returned from visitMethod, instead of stopping traversal entirely.
Fixed process shutdown issue on BlackBerry.
Fixed Terrain compile error on BlackBerry.
Fixed a few compile warnings.
Minor terrain test updates.

Fixes #667