Remove @Ignore from tests that should now pass.
Remove the apache-trunk profile - it should be possible to use apache-2 with hadoop.version set explicitly.
Enable compilation warnings.
Update HDFS coherency model to reflect Hadoop 2 APIs - hflush and hsync.
Fix some unchecked warnings.