demo new try-with-resource + suppressed exceptions

demonstrate new java 7 features - try-with-resources and suppressed exceptions. also make project java 7 to demonstrate them