Rename waitidle to wait_idle.
Rename waitserial to wait_serial.
Merge pull request #38 from aplanas/master

Rename waitidle to wait_idle.