use rustpkg to build gen
Merge pull request #20 from csherratt/travis-fix

use travis to build generator.
Merge pull request #21 from csherratt/master

Fix 'self lifetimes
Update for pkgid