minor refactoring of %commands
don't redundantly call ideone-get-languages again
refactoring ideone-get-languages to convert the map keys to integers
adding %python3 command