Add autobuild for has_one and embeds_one associations

In order to have autobuild being tested, I've added with_autobuild method that goes into the chain after have_one or embed_one methods.