Adds JSDoc to the Application.

Still a WIP, but this adds JSDoc to the Application source.

I've never used JSDoc before, so feel free to give me feedback on the methods and properties that I've already added.

Thanx
```
@private
```