Merge pull request #31 from chertov/master

fix windows build, add windows GetDefaultDataDir, add files to project
fixed crash
create MAC key
pick most recent tunnel from LeaseSet
Merge pull request #8 from orignal/master

Merge pull request #8 from orignal/master