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

> Default behaviour when in a transaction is to close transacton before running known_folders.after_transaction

>So there is no need to reopen the conection again, thats whats the bool is there for

The problem is that this is relying on something else to ensure the transaction is closed. So it's not clear and it could cause issues on a refactor. It's best to be explicit.