file-format.el: add new module (should be separate) and it's tests
use file-format to replace s-buffer and safe escaping stuff
merge commits from ruediger
marmalade-router: add an end marker to the package download url regex to prevent it matching sigs