Added functionality to serialize the stockList when exiting the app

Added Object Serializer which handles Serialization of the StockList.
Some variables in the TopicConsumer cant be serialized so they have to
be excluded (transient). Becareful when implementing the importing
function to reinitialize these variables inside the TopicConsumer in
order to keep it working as exspected (ActiveMq Session, factory etc.)