Adjust factory method to follow Flask extension guidelines

Based on 85cdf6bbb968debfa622ccb819ee9849b5a94e88 and
21c4ca7968c5da2c8d9fdb7f13774ec50fe062a5, authored by Matt Wright
<matt@nobien.net> @mattupstate
Merge branch 'factory-fix' of github.com:singingwolfboy/flask-restful into singingwolfboy-factory-fix

Conflicts:
	flask_restful/__init__.py
Merge pull request #182 from noise/master

fix #181, add ERROR_404_HELP app.config var to control 'smart errors'
Fix running unittests from setup.py

Otherwise the command lines in documentation will not work.
Note that it will not work if run directly because setuptools tries to
fetch pycrypto-2.7a which will fail to build (at least on MacOS).
Add Boolean & Price to __all__, closes: #180
Make list of dict marshalling work, closes: #165
Merge branch 'singingwolfboy-factory-fix'
Merge pull request #183 from EvaSDK/list-of-dict-marshalling

List of dict marshalling
Bump to 0.2.11
Fix links in CHANGES.md
Don't install 'tests' package
Small spelling fix
Merge pull request #188 from UtahDave/master

Small spelling fix
Merge pull request #186 from papaeye/fix-tests-install

Don't install 'tests' package
update library author
fix regression for Lists of Nested in #165