Implement beep count and time between arguments

Also changed the method of beeping slightly due to this conversation: https://gist.github.com/taterbase/3154646
Update README.md
fix exports style
first beep should be synchronous