move package functions out of the WP_CLI dir

The WP_CLI dir should only contain autoloaded files.