Improved the saving of meta data.

http://wordpress.org/support/topic/patch-huge-number-of-unnecessary-meta
-rows?replies=1#post-3956778
WordPress Coding Standards optimizations.
WordPress Coding Standards optimizations.