Update calcdeps to support import as a module.
Update calcdeps to support import as a module.

Allow importing calcdeps as a Node module for use by other scripts.  The module
API follows that of the command line exactly.

Progress on #7.

theanh/spfjs,youtube/spfjs,tchiotludo/spfjs,scrapp-uk/spfjs,youtube/spfjs,nicksay/spfjs,scrapp-uk/spfjs,nicksay/spfjs,theanh/spfjs,scrapp-uk/spfjs,youtube/spfjs,nicksay/spfjs,tchiotludo/spfjs,youtube/spfjs,nicksay/spfjs,theanh/spfjs,youtube/spfjs,tchiotludo/spfjs,tchiotludo/spfjs,nicksay/spfjs,theanh/spfjs,theanh/spfjs,tchiotludo/spfjs,scrapp-uk/spfjs,scrapp-uk/spfjs