refs #668 - merged FB.
Did some refactoring:
- Added upload configurations to all rest projects
- Enable overriding temp dir as bean property
- Abstract the code for future RPC usage as well