Make Image extend AbstractImage

Also added jshint and cleaned up licenses.