S3 feature

The files are getting uploaded to S3.

I implemented a factory for instantiating the DocumentStore as per the configurations. 
I am getting some errors while running the server. It is unable to instantiate the beans which use the DocumentStoreFactory. It throws a sql error - "Table 'mifosplatform-tenants.c_configuration' doesn't exist"