Fix Buggy Outdent Selection Results

Simplify indent and outdent function. I have that `replace` method, why I didn&rsquo;t think to use that?!!

Fixed buggy outdent selection results in regex pattern.
For example, we want to outdent an ordered-list with this pattern:

    myEditor.outdent('[0-9]+\. ');

The wrong results is &rarr; http://jsfiddle.net/tovic/AEK3N