Bug 822898 - Implement pointer events. Basic Tests. r=smaug