Replace SimpleRPM with RPMLibraryAdapter

By using the real RPM library, we'll get macro expansion. Also replace
the '@VERSION@' tags with 'UNRELEASED'

related to xenserver/planex#53
Merge branch 'get-sources' into matemaster