Fixed broken sticky options.

Make AppState read only while dependent objects are not initialized from initial settings.

Initialize margins after orientation.

Use different check in updateValue for writes and CHANGE event.

BUG=294726

Review URL: https://codereview.chromium.org/24690003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@226098 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 226098