Bugfix for OSX - getting the realpath of system temp dir.
Removing RMT.
Updating to Psr 4.