Adding psr-4 autoloading support

Adding psr-a autoloading. Changes are base on current tests. Code is not so clean but it works. Maybe we'll need to agree about coding style/standards.