Added vgError to notify video object error events.
Improved buffering API.
Fixed problems initializing player.
Some minor code fixes for maintainability.
Updated grunt files.