Allow PDF uploads in image upload

@jrbl & @stvstnfrd - Changes to allow PDF uploads using image upload feature.
FWIW: I added a backlog task for backend max filesize verification.