Content layout

Hi, this is my first attempt at a contribution, this is basically a fix for the issues posted here: http://fabrikar.com/forums/index.php?threads/content-plugin-issue-new-behavior.35509/#post-178824

Not 100% sure whether is the correct way to fix it. It seems to be working fine for me, I tested the blog layout as well. I did not understand why the $origLayout was saved in the first place.