Fix context.StatementRef

Resolves #91

Supersedes https://github.com/RusticiSoftware/TinCanJS/pull/94
Because there could be instances of a SubStatement being passed, since that is an acceptable value prior to 1.0.x we need to check for them as well for consistency. Added in my commit.