Add dom extension as composer dependency + corrected autoload entry