implement amazon AWS storage for paperclip; remove redundant helpers; change pagenumber helper to JS functionality; add citation/footnote helper