Enabled nuget package restore for build and test on Travis.