Merge pull request #104 from thias/master

Fix postsync, enhance package definition and cosmetic code cleanups
Handle package version when a rebuild is triggered
Merge pull request #98 from vikraman/fix/rebuild

Handle package version when a rebuild is triggered
update concat dependency
Use @ prefix for variables in erb templates to fix deprecated syntax