removed the $factory variable which is no longer needed in 2.2
Fixed a mistake in the docs about form creation

(you cannot simply call "->createForm()" in "any service that has access to the form factory")
Merge pull request #2930 from Burgov/remove_no_longer_necessary_factory

Remove no longer necessary factory