rflib: Generate RFProtocolFactory code

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Merge pull request #11 from joestringer/submit/121210

rflib: Generate RFProtocolFactory code