Add smarter implicit conversion for Option[Boolean] to Boolean

`TemplateMagic` includes an implicit conversion for `Option[_] => Boolean`.  The current implementation creates unexpected behavior when implicitly converting `Option[Boolean]` where `Some(false)` implicitly converts to `true`.  This pull request adds a more specific implicit conversion to handle this case.

Behavior BEFORE:

```
Some(true) => true
Some(false) => true
Some("anything else") => true
```

Behavior AFTER:

```
Some(true) => true
Some(false) => false
Some("anything else") => true
```