Better promotion prefixing code.

Use array_map with an anonymous functions, aka lambdas, aka closures.

PHP 5.3 is the future... in 2009.
Merge pull request #21 from isaacgrant/closures-are-cool

Better promotion prefixing code.