fixed issues with security policy imposed by android ics and later versions

To fix the issues imposed by the security policy I added one simple change registering the receiver. 
And also the getViews api call was giving classcast exceptions in ICS and I found out it is actually a bug in the earlier robotium version. So, i used the latest version of robotium which is 5.2. But it did not implement the getAllOpenedActivities api call so I added it to robotium source code repack it to jar and replaced the old one. Now it works good.