Added rules in ant build file to include keystore path
Fixed bugs in MessagingTest
Bumped version to 4