major structure overhaul for R packaging
add hist.R for historical code
settle all issues with package loading
move tests into inst dir
setContextClass: detect protoparent from contains argument
add README.md