New parameter Apartment

Add an Apartment parameter that sets STA or MTA on the runspace's initial
session state. Setting the apartment threading model is needed to use COM
objects with thread affinity in the pipeline.