Updated the ConnectionFactory class. Used mybatis-spring integration com...

...ponent to create a CF/Spring-compatible SqlSessionFactory bean.

This pull request contains the changes necessary to deploy the FortressDemo2 application into Cloud Foundry.  Essentially, the requirement was to make the JDBC DataSource configuration explicit in the Spring applicationContext.xml.  The only change to the Java code is in the ConnectionFactory class.  The static initializer that bootstrapped the sqlSessionFactory has been obviated by some new Spring beans and a component scan.  These changes are believed to be completely back-compatible, and the application may still be deployed in a standalone Tomcat server.