user_data_dir(), use_cache_dir() and
use_config_dir() now respect R_USER_DATA_DIR,
R_USER_CACHE_DIR and R_USER_CONFIG_DIR env
vars (#27).
No longer uses methods package.
Minor R CMD check and test fixes.
xxx_dir() functions only use version when appname is
not nullxxx_dir() i.e. testing