Small fixes (code appearance)

Fix alignment, spaces, tabs or other small things (code appearance)
add comments and relative url function to url class.
and i have sugestion to move error display function to helper.
need to add after *session_destroy();*
```php
self::$_sessionStarted = false;
```