Added tests to handle nested form attributes and attributes ending
with and without [].
Refactored serializeObject plugin to support nested attributes. Additionally added support to using closing [] in attribute names.