@ModelAttribute flattening should ignore statics

- Added fix to ignore static fields when flattening objects
marked with @ModelAttribute
- Added code coverage to prove the fix works