Setup jobs for testing mozilla-esr31 and release-mozilla-esr31 branches (#456)

This is the PR for issue #456.