Patch experience command, element#asInt

- Experience command was setting levels wrong (possibly giving XP weird
as well, to-be-dealt-with-later)
- element#asInt should return a proper int even if something like "1.0"
is input