Makes SDocuments serializable. Note, that this commit depends on the

salt version > 1.1.8-SNAPHSOT. When you merge this commit back to the
development branch, you should change the pom.xml salt dependencies
back to a stable version. The only thing to merge is the remove of the transient modifier. 

closes #288