Achievements can now be a requirement for a quest.
Added "API" class for use in JS environment