Feature/logical vector from bool

This is a PR allowing construction of `LogicalVector` from `bool`, with @luckyrandom's modifications added in. Might need merging with master / rebasing before merge.