Split script execution to a separate sub

So we can use it other places.
Add $options argument to project_config sub

This can be used to temporarily override some options.
Add rpmbuild option

rpm build is now done using a script, with template in the rpmbuild
option, which can be customized if necessary.