First pass at prime factors. Node doesn't appear to be optimizing for tail recursion, however.
Fixed 'maximum stack exeeded' error with trampoline strategy.