Create ApplicationBase class.

- create new class
- move 'PETSC code' from Application class and system intialization to
ApplicationBase class
Use ApplicationBase class.

- add inheritance to Application class (Application is descendant of
ApplicationBase)
- implement inherited methods of Application class
- remove PETSC code from Application class
- optimization of program termination
Remove initialization and termination functions of system.