Merge pull request #9 from pamval/5-trunk

[CDF-242]: Ensure Orient DB shuts down when BA Server shuts down