Stamp iso8601 improvements

Fixes several issues with stamp, notably wrong treatment of non-terminal iso8601 formats like stamp("2013-01-01T00:00:00-06:00 KK") and broken vectorization. 

It branches from issue-182 to avoid minor conflicts.