Updated to use the new target framework in project.json
Issue #668: Sample should be covered by a basic functional test.
Updated build.cmd