R: rewrote test cases using the testthat package.
R: put tests in the package, and provide a function to run them. Closes issue #485.
Merge branch '0.6-testthat' into release-0.6
Merge branch 'release-0.6' of github.com:igraph/igraph into release-0.6