Create standard application class, with basic tasks.

The initialize function becomes now deprecated, a warning is raised when it is used, but still is functional.

The advantage of having base application class is that the tasks, features and gains are no longer members of robot object but members of a dedicated object, which should be much easier to understand.