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!
These are inherited from a prototype, so they don't actually need to be declared here. It doesn't hurt though.