Splits ident-hash and version when asked.
Joins an id and version to an ident-hash.
Merge pull request #204 from Connexions/utils

Ident-hash utility modifications
Adds cc-by 4.0 to the license constants.
Merge pull request #205 from Connexions/cc-by-40

Adds cc-by 4.0 to the license constants.
Fix GET /extras error when title has non ascii characters

The error is this:

2014-03-28 22:52:52,981 INFO  [cnxarchive][Dummy-1] GET - /extras/2ab14729-a046-45b0-a91e-2d610097689d@1
2014-03-28 22:52:53,002 ERROR [cnxarchive][Dummy-1] Unknown exception
Traceback (most recent call last):
  File "/home/karen/cnx-archive/cnxarchive/__init__.py", line 94, in __call__
    return controller(environ, start_response)
  File "/home/karen/cnx-archive/cnxarchive/views.py", line 322, in get_extra
    exports_dirs, id, version))
  File "/home/karen/cnx-archive/cnxarchive/views.py", line 111, in get_export_allowable_types
    id, version, type_name, exports_dirs)
  File "/home/karen/cnx-archive/cnxarchive/views.py", line 150, in get_export_file
    version, file_extension)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 12: ordinal not in range(128)
Merge pull request #206 from Connexions/fix-utf8-filename

Fix GET /extras error when title has non ascii characters
allow resource URLs to have an optional ignored suffix (like exports)
append author provided filename to resource URLs, to improve download behavior
Merge pull request #208 from Connexions/resource-filenames

Adds optional resource filename support on route paths.
map legacy export filename extensions to new ones (paroticulary complete.zip -> zip
Merge pull request #209 from Connexions/legacy-filename-extension-map

map legacy export filename extensions to new ones
Add search filter by submitterID
Merge pull request #211 from Connexions/search-by-submitter

Add search filter by submitterID
Add a flag to designate a license is valid for publication.
Merge pull request #215 from Connexions/flag-licenses

Add a flag to designate a license is valid for publication.
Add trigger to set legacy moduleid and version. Addresses Connexions/cnx-publishing#17
Fix bad test data where moduleid prefixes for collections are 'col' not 'c'.
Split legacy default assign trigger.
Test contemporary publications do not invoke republications.