feat(loading-class) Add the loading class for long running promises

Also adds tests for passing a promise and the classes add/remove.