Update/gcc4.8

Updates compiler to 4.8
linux_install, mac_insatll or win_install need to be run to get the new compiler.
Will require a make clean before full make.
Also optimizes the the mbed readdir to indicate if the file is a directory or not.

Thanks to Adam Green for fixing the win_install and testing mac_install and updating MRI.
closes #496