[#6139] ticket:399 Improved Trac Wiki import scripts

* Copy the contents of the trac wiki home page to the Home page in the Allura wiki.
* Replace the wiki-toc div from trac with a Markdown [TOC] tag.
* Added the 'forgewiki.wiki_from_trac' ScriptTask that can do the export/import in one step
[#6139] ticket:399 Fix imports for ScriptTask
[#6139] ticket:399 Skip pages that can't be parsed (non-wiki)
[#6504] Refactored all project name validation into validator class

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6441]  ticket:398 fixed hyperlinks in tickets imported from trac
[#6441]  ticket:398 refactored hyperlinks in tickets imported from trac
[#6441]  ticket:398 fixed link with comments  in tickets imported from trac
[#6441] ScriptTask doc parser chokes on %d

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
[#6460] Fixed security checks sometimes using incorrect roles

When doing a has_access() check for a given user against a given
artifact without explicitly specifying the project, c.project was being
used to get the list of user's roles instead of the artifact's project
attribute.  If c.project was not the project to which the artifact
belonged, the the wrong set of role_ids were being used, resulting in
access being denied.  It's a bit nonsensical to use an unrelated
project's role_ids to check access to an artifact, and this was breaking
notifications, which fire all pending notifications, regardless of the
context under which fire_ready() was called.

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6460] Get root_project of artifact

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
[#6446] ticket:400 added filtering for topics in api, test fail
[#6446] ticket:400 in forum api return only ok threads
[#6446] ticket:400 fixed test for showing only ok posts
[#6446] ticket:400 fixed topics display in forum api
[#6446] ticket:400 do not show not ok posts for other apis
[#6446] ticket:400 removed trailing whitespaces
[#6446] ticket:400 removed threads from forum json
Move requests pkg to common dependencies

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>
[#6456] Refactored ProjectImporterDispatcher to Allura to remove dependency on FI

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>
[#6456] Added documentation for ForgeImporters package

Signed-off-by: Cory Johns <cjohns@slashdotmedia.com>