Change the way Promises support is checked
Created by: epiclabsDASH
Following @chevonc suggestion (#2873 (closed)), this PR changes the way Promises support is checked in dash.js to support cases in which dash.js is bundled with a Promises library different than the native one.