Lcg/openbsd package

rebase of #2177 onto master, plus rspec 3 fixes, plus md file updates.