1. updated configure to make it work in linux
2. updated pom.xml to excecute configure with bash
3. fixed unit test error in framework

Reviewed By: Hasan Ahmad <haahmad@rim.com>
Tested By: Hasan Ahmad <haahmad@rim.com>