Remove caTools dependency

Instead, use base64 encoding function from httpuv
Merge pull request #552 from rstudio/no-catools

Remove caTools dependency