Added the "pattern_capture" token filter from Lucene 4.4

The XPatternCaptureGroupTokenFilter.java file can be removed once we
upgrade to Lucene 4.4.

This change required the addition of getArray() to Settings.java, as
getAsArray() could have broken patterns by trying to treat a single
string as a comma-delimited value.

Closes #3340