Handle dashes in mod version when building cache

Updated api/cache/update to support version identifiers that include
dashes. Anchored regex using portion of filename matching the current
directory.
Merge pull request #1 from fwb/master

Support dashes in mod version