Added option to run scripts before and after the transaction scope

This is a duplicate of a closed pull req. I did, old one was done from master, not very smart so closed that one and did the Pull request from a branch instead

Some configure stuff like
```sql
sp_configure 'Ad Hoc Distributed Queries', 1
reconfigure
```
cant run within the transaction, for these scenarios I added a Before and after transaction folder so you can put these scripts here

So there are some holes in your logic here that providing tests would have found. 

* If you are NOT running in a transaction, these folders will never be run due to this branching statement. I don't think that was your intention.
* Your after folder will never run outside of a transaction because you don't close and reopen the connection without a transaction.