Added support for java, ruby, php and shell scripts
Adds check whether compilation was successful for c and cpp. Prevents extra error messages to be shown