Fix cast to Integer error.
Add "appWaitActivity" capability.
Add target and source config for compiler plugin
Merge remote-tracking branch 'upstream/master'

Conflicts:
	pom.xml
Merge branch 'master' of https://github.com/appium/java-client
Merge remote-tracking branch 'upstream/master'
Add supported mobile platforms & mobile browser types.
Merge pull request #88 from prattpratt/master

A few updates to java-client