SHDP-365 Let OutputStoreObjectSupport survive lifecycle failure

- Adding internal flag internalInitDone guarding initOutputContext().
- Silently fail initOutputContext() during lifecycle expecting it to be
  called when writer requests output context which would try
  init again.
- Writer now receives StoreException indicating that context is
  not ready and it can re-try write operation.
SHDP-353 Remove version 1 specific code
Merge branch 'master' of https://github.com/spring-projects/spring-hadoop into security
add test