Added transfer type by directory helper.

Added a helper function to determine a transfer's type by looking at
which watch directory it has been put into.
Support transfer types in automation API.

Added the ability to handle transfer types, other than standard transfers,
to RESP transfer automation API.