added getAllAttachments() method
refactored attachmentsStore into offlineFeaturesManager (and not in each layer)
fixed a difficult bug when extending XMLHttpRequest in with sendAsBinary() method in Chrome
attachment-editor.html sample works now