FEATURE: smf2 import script
made postprocessing of posts with delay quotes conversion resumable
improved option handling
Using host Linux (Ubuntu 12.04); performance was abysmal.

On initial load of localhost:4000, the http calls for
additional Javascript files via the browser appears to take
more than a few minutes with *.js endpoints loading in one
file at a time very slowly.

It was observed that the Ruby process was consistently
pegged at 95% and up.  This behaviour is not observed
using a Mac OSX.

However, adding a single core to the guest OS
(from 1 to 2) improved performance considerably.

The patch detects if the host system is Mac OSX or
Linux and attempts to assign the same number of cores
as is present on the host.
Enumerate deferred scripts with a sprockets helper
Move the scripts helper into a better place.
This moves the finder logic out of the component
Optimize Category find-by-id by using a hash.
Move discourse_plugin to lib
Merge pull request #2548 from Elberet/smf2-import

Import script for Simple Machines 2 forums
Merge pull request #2565 from swalkinshaw/move-discourse-plugin

Move discourse_plugin to lib
Merge pull request #2566 from minasmart/master

Enumerate deferred scripts with a sprockets helper
Merge pull request #2568 from lebek/optimize-category-lookup

Optimize Finding a Category by Id
TRIVIAL: Rename `map` to `idMap` because `map` means something for
enumerables.
Merge pull request #2567 from ffernand/additional_cores_for_guest_os

Using host Linux (Ubuntu 12.04); performance was abysmal.
Merge pull request #2569 from lreeves/group-selector-datasource-finder

Move finder logic out of the group-selector component
FEATURE: Continue to Discourse links are now buttons, and those pages will redirect automatically after 5 seconds
FEATURE: If there is a category scope and `show_subcategory_list` is set, only
show the local categories in the dropdown instead of all categories.
FIX: import scripts: bbcode_to_md should not be escaping html in post.raw
FIX: If a deprecated view can't be found, look for a component