Fix NingWSRequestHolder.prepare to not use NingWSRequest methods

* fix prepare mothods
* add some tests
* little bit refactoring
Fix error message for global initialization
Fix the typo to make header "Content-Security-Policy"
Merge pull request #2653 from wsargent/fix-2650

Fix the typo to make header "Content-Security-Policy"
Merge pull request #2637 from mikamix/fix_ning_deprecation_warnings

Fix NingWSRequestHolder.prepare to not use NingWSRequest methods
Merge pull request #2652 from gmethvin/global

Fix error message for global initialization
change RichFileSetting to standard way