Add assembly versioning

Configure appveyor for versioning, too.