Bugfixes and improvements

Additional unit tests, Autoload bug fixed, implemented SeekableIterator, build file and other smaller issues fixed.