added additional image type detection
console logging of errors now works correctly
removed unused code
added spatialReference to the Extent
more tweaks to error messages
removed unused callback value
switched to deferred promises in _parseInMemFiles()
fixed minor firefox bug
updated TPKLayer how to use doc
Merge pull request #224 from andygup/detect_png

Add addt'l tpk image type detection