Add additional field checks for deserialization.

Check that a field is not static when deserializing.

Contains some additional tests to confirm and document behavior
and prevent regressions for field deserialization.

(cherry picked from commit f4d72bcf5a9caa1d6cac74a018ab68dd87ec6d83)
Bug: 17202597

Change-Id: I72456a8b45ca0de1d3dd2b0f9515548b02e0a7be
Merge branch 'cm-11.0' of github.com:CyanogenMod/android_libcore into cm-11.0