Added functions to get the next virtual machine ID.
This is currently not documented in the api.
Merge pull request #7 from papamoose/nextvmid

Added functions to get the next virtual machine ID.