Adds is_handler_valid/1 and check_handler/1 functions to check that a handler module can be loaded from the file system. The handler module must export init/3. The functionality is included in the compile function of cowboy_router. Compiles fail if the declared handlers don't pass the test.