Fixes to pass jsontests

Change-Id: Ic1f5978ff9b35f1f6221b9b76ea11e0fbdea7f23
Fix #420: Subtask: Add old task does not work

Change-Id: I5f5563a376223eb26bef88644c78e94b03229838
Strings should be compared using equals()

Change-Id: I874088dfabf74f6efb1482a05b5652326c027443
Merge "Fix #420: Subtask: Add old task does not work"
Replace else if in TaskDeserialize by switch case

Change-Id: I8caaf448db08c177cb3ac94434038e8eceb00981
The Object.finalize() method should never be overriden

We should close the TLSClient manually

Change-Id: I74bda96297f547a407b0735227c85eb46e6553fe
Implemented Log.logStackTrace

Change-Id: Ic704518d652c036470e3d86848a195dd670b073e
Throwable.printStackTrace(...) should never be called

Change-Id: I8ad56738118cbe7d26c9c80ffce048a567202077
Throwable.printStackTrace(...) should never be called

Change-Id: I5798b6852714d3d41396d97c5575befa6f35fccd
Throwable.printStackTrace(...) should never be called

Change-Id: I5ef46f3da7daf677104ed9f3ce42cddea5ca3fb8
Merge "The Object.finalize() method should never be overriden"
Merge "Throwable.printStackTrace(...) should never be called"
Merge commit '3c7c91c7beb2f720a0c4c0897590caf89c994658'
Merge commit '731bcc6c442c250c50d0ea8fe70d20a5fc81f191'
Merge commit 'c61e8e165ea118b22184a6746058b25115498735'
Merge commit 'e6a08423fe66571a2448656c192a539aa13079e4'
Merge commit '8776e6d30de65afb23c286e4a06362ef1342c5a0'
Merge commit 'cf29b157128c4d9a3a6125c9924a12721a568642'