Update api.php

Added function to return possible jobs (since it seems you can't know if player unlocked job for sure). Checks if main and sub classes for a job are at minimum level (30&15)
Returns associated array like

Array
(
    [BRD] => 35
    [BLM] => 50
    [SMN] => 50
)