Change the way of switching between LibraryView and LibrarySearchView

#### Purpose

Modify switching between views in `LibraryContainerView` to the way which is proposed in https://github.com/Benglin/Dynamo/pull/38#discussion_r17294613.

#### Modifications

Added `CurrentMode` to `SearchViewModel`. Created converter `ViewModeToVisibilityConverter` which do all work.

#### Additional references

[MAGN-4530](http://adsk-oss.myjetbrains.com/youtrack/issue/MAGN-4530).

#### Reviewers

@Benglin, please take a look.
Nice formatting. I'm just wondering why don't we make the change on ```master``` instead of here? I think this file exists on ```master``` branch, does it? If you want to change it on ```master```, do create a PR and I'll merge it in.