Relates to issue #18 Guard against submit functions that don't return a promise by warning rather than erroring