singleton refact
[Singleton refact] - Cleaning code

- Cleaning the code of the Singleton refact
[Singleton refact]

- Loader now in Singleton.
- Router now in Singleton.
- loadController now coded.
- loadMethod now coded.
- Creation of the error file.
- Creation of the debug file.
- The maincontroller and the index methods are loaded on the first page
of the project.
Merge remote-tracking branch 'origin/basicStructure'

Conflicts:
	core/lib/singleton.php
	core/router/router.php
	index.php