Added check for required features

Checks if canvas and supported methods are available, as required by cvv.js