Move test tructure to the latest version.

- `unit` becomes `models`
- `functional` becomes `controllers`

--HG--
rename : test/functional/admin_controller_test.rb => test/controllers/admin_controller_test.rb
rename : test/functional/artist_controller_test.rb => test/controllers/artist_controller_test.rb
rename : test/functional/comment_controller_test.rb => test/controllers/comment_controller_test.rb
rename : test/functional/dmail_controller_test.rb => test/controllers/dmail_controller_test.rb
rename : test/functional/favorite_controller_test.rb => test/controllers/favorite_controller_test.rb
rename : test/functional/forum_controller_test.rb => test/controllers/forum_controller_test.rb
rename : test/functional/job_task_controller_test.rb => test/controllers/job_task_controller_test.rb
rename : test/functional/note_controller_test.rb => test/controllers/note_controller_test.rb
rename : test/functional/pool_controller_test.rb => test/controllers/pool_controller_test.rb
rename : test/functional/post_controller_test.rb => test/controllers/post_controller_test.rb
rename : test/functional/post_tag_history_controller_test.rb => test/controllers/post_tag_history_controller_test.rb
rename : test/functional/report_controller_test.rb => test/controllers/report_controller_test.rb
rename : test/functional/tag_alias_controller_test.rb => test/controllers/tag_alias_controller_test.rb
rename : test/functional/tag_controller_test.rb => test/controllers/tag_controller_test.rb
rename : test/functional/tag_implication_controller_test.rb => test/controllers/tag_implication_controller_test.rb
rename : test/functional/user_controller_test.rb => test/controllers/user_controller_test.rb
rename : test/functional/user_record_controller_test.rb => test/controllers/user_record_controller_test.rb
rename : test/functional/wiki_controller_test.rb => test/controllers/wiki_controller_test.rb
rename : test/unit/advertisement_test.rb => test/models/advertisement_test.rb
rename : test/unit/application_test.rb => test/models/application_test.rb
rename : test/unit/artist_test.rb => test/models/artist_test.rb
rename : test/unit/artist_url_test.rb => test/models/artist_url_test.rb
rename : test/unit/ban_test.rb => test/models/ban_test.rb
rename : test/unit/comment_test.rb => test/models/comment_test.rb
rename : test/unit/dmail_test.rb => test/models/dmail_test.rb
rename : test/unit/dtext/dtext_test.rb => test/models/dtext/dtext_test.rb
rename : test/unit/dtext/helper.rb => test/models/dtext/helper.rb
rename : test/unit/dtext/tests/another-external-links.html => test/models/dtext/tests/another-external-links.html
rename : test/unit/dtext/tests/another-external-links.txt => test/models/dtext/tests/another-external-links.txt
rename : test/unit/dtext/tests/composite-1.html => test/models/dtext/tests/composite-1.html
rename : test/unit/dtext/tests/composite-1.txt => test/models/dtext/tests/composite-1.txt
rename : test/unit/dtext/tests/composite-2.html => test/models/dtext/tests/composite-2.html
rename : test/unit/dtext/tests/composite-2.txt => test/models/dtext/tests/composite-2.txt
rename : test/unit/dtext/tests/external-link.html => test/models/dtext/tests/external-link.html
rename : test/unit/dtext/tests/external-link.txt => test/models/dtext/tests/external-link.txt
rename : test/unit/dtext/tests/header.html => test/models/dtext/tests/header.html
rename : test/unit/dtext/tests/header.txt => test/models/dtext/tests/header.txt
rename : test/unit/dtext/tests/line-list.html => test/models/dtext/tests/line-list.html
rename : test/unit/dtext/tests/line-list.txt => test/models/dtext/tests/line-list.txt
rename : test/unit/dtext/tests/link-injection.html => test/models/dtext/tests/link-injection.html
rename : test/unit/dtext/tests/link-injection.txt => test/models/dtext/tests/link-injection.txt
rename : test/unit/dtext/tests/links.html => test/models/dtext/tests/links.html
rename : test/unit/dtext/tests/links.txt => test/models/dtext/tests/links.txt
rename : test/unit/dtext/tests/list-and-link.html => test/models/dtext/tests/list-and-link.html
rename : test/unit/dtext/tests/list-and-link.txt => test/models/dtext/tests/list-and-link.txt
rename : test/unit/dtext/tests/list.html => test/models/dtext/tests/list.html
rename : test/unit/dtext/tests/list.txt => test/models/dtext/tests/list.txt
rename : test/unit/dtext/tests/list2.html => test/models/dtext/tests/list2.html
rename : test/unit/dtext/tests/list2.txt => test/models/dtext/tests/list2.txt
rename : test/unit/dtext/tests/list3.html => test/models/dtext/tests/list3.html
rename : test/unit/dtext/tests/list3.txt => test/models/dtext/tests/list3.txt
rename : test/unit/dtext_test.rb => test/models/dtext_test.rb
rename : test/unit/favorite_test.rb => test/models/favorite_test.rb
rename : test/unit/flagged_post_detail_test.rb => test/models/flagged_post_detail_test.rb
rename : test/unit/forum_post_test.rb => test/models/forum_post_test.rb
rename : test/unit/job_task_test.rb => test/models/job_task_test.rb
rename : test/unit/note_test.rb => test/models/note_test.rb
rename : test/unit/pool_test.rb => test/models/pool_test.rb
rename : test/unit/post_tag_history_test.rb => test/models/post_tag_history_test.rb
rename : test/unit/post_test.rb => test/models/post_test.rb
rename : test/unit/tag_alias_test.rb => test/models/tag_alias_test.rb
rename : test/unit/tag_implication_test.rb => test/models/tag_implication_test.rb
rename : test/unit/tag_subscription_test.rb => test/models/tag_subscription_test.rb
rename : test/unit/tag_test.rb => test/models/tag_test.rb
rename : test/unit/user_record_test.rb => test/models/user_record_test.rb
rename : test/unit/user_test.rb => test/models/user_test.rb
rename : test/unit/wiki_page_test.rb => test/models/wiki_page_test.rb
No need to specify full path of test_helper anymore.
Fixtures are kind of broken right now.
Remove ancient test_parser initialization.
Add required helper.
Readd all fixtures.
Wrong class name.
Make local_config optional.

Stuff will break, etc.
Don't explode on nil.
Accepts "MB_DATABASE_URL" to set database connection.
Sort variable names.
Downgrade structure dump to PostgreSQL 9.1.
Update to slightly modern rails idiom.
Accidentally committed experimental code.