Add API for retrieving application's current status

This pull request adds a `/status` endpoint, which can be consumed to observe the current state of the instance as it's known with Eureka. 

This PR also comes with some slight refactoring to simplify the handler and test implementations.

Also, I added a convenience configuration for people using IDEA, so that the Copyright header is always applied, and the scm status is respected.