Fixed tests for version and agent to work on windows

This patch fixes tests for juju/agent and juju/version to work on windows, as well as ubuntu.
Here are a few of the things that had to change:
1) because Windows is not fully POSIX compliant, the file permissions checks have been disabled. os.Chmod() only works reliably on POSIX systems
2) Abstracted some error messages that differ based on OS. For example the "no such file or directory error"
3) used filepath.Join and FromSlash wherever needed
I'd prefer:

```go
expectedSeries := []string{
    "precise", "quantal", "raring", "saucy", "trusty", "utopic",     // Ubuntu
    "win2012", "win2012hv", "win2012hvr2", "win2012r2", "win7", "win8", "win81", // Windows
}
```

On a side note, please confirm with @howbazaar or @fwereade for Ubuntu we only need to test support for precise, trusty and utopic.