Update handler_url support to match the latest in the xblock repo, for both js and python runtimes

[LMS-1613]
Run tests in lms/lib
Merge pull request #1692 from cpennington/pure-xblock-handler-urls

Update handler_url support to match the latest in the xblock repo, for both js and python runtimes