Add pointer event definitions to the yaml file

Add pointer event initialization to the yaml file. These are now required to correctly set the applicationWantsPointerEvents flag in threejs, to provide pickInfo to the application.

Fixes #4050.

Additionally, remove initializeCamera function and clean up minor space issues.

@davideaster Please review. Thanks!