update travis build script to install the latest version of mono

also added env variable for enabling nuget package restore