make imports Python 3 compatible
fix docstring of AtomicLineList.query_object
simplify code
raise an exception if len(wavelength_range) is not 0 or 2
removed outdated comment
got rid of Werkzeug dep again, more Py3 compatibility