fixed Restore-Database, replaced $smo with $server
Merge pull request #5 from yannisgu/master

Restore-Database doesn't work, because it uses the variable $smo which is not defined