PosixDirectory implementation

This commit adds a more native readdir based implementation than the current HDDirectory (which is there since the initial porting - and pretty ugly imo). Thanks to @Memphiz for the xcode sync and @Koying for testing on Android.

This needs a final test on all posix platforms before it should be merged.
@mkortstiege If file with the same name is exist, function must return `false`