Update api.php

Added achievement summary parse, will give you an array of what is in the summary and not an object. 
JobClass no longer a mixed array of named/numbered, it is split.
Achievement parser will check if public first and return false if achievements are private, otherwise returns an object or array