Update api.php

Added function to return possible jobs (since it seems you can't know if player unlocked job for sure).
Returns associated array like
```
Array
(
    [BRD] => 35
    [BLM] => 50
    [SMN] => 50
)
```