Added writeUnsafe(UnsafeMemory) method to UnsafePersistable.
Added methods to UnsafeMemory to work with more data types.
Adding UnsafeMemoryUtils to write object to disk and prevent OOM if
using Apache Commons FileUtils.