ENH: _maybe_upcast_putmask now has the keyword, change to provide inline
       putmask changes to an object (series)
     apply in BlockManager now has a keyword, filter to allow acting
       on only those items contained in the filter (if supplied)
CLN: consolidated all replace subs to main replace in DataFrame
       (which calls replace in BlockManager)
TST: now passed test in GH 3064
Merge pull request #3068 from jreback/replace2

BUG: fixes in replace to deal with block upcasting