dpaste now queries server for supported languages

Migrated a feature from lodgeit.py where the list of supported
languages changes based on what the server supports.