Use new install_github syntax
Fix R CMD check problems.
Mostly SQLite usage errors
Correct methods usage
Use travis