Merge in CASinoCore logic

This PR merges in all CASinoCore functonality into CASino as discussed in rbCAS/CASinoCore#18 and based on the work @dlindahl did in #18. It preserves all of CASinoCore's git history.