Merge pull request #591 from bvssvni/master

Ignore Cargo.lock
Change to new `use foo as bar` syntax
Change to [lib] since [[lib]] got deprecated
Merge pull request #593 from lucidd/master

syntax changes to please new rustc and cargo
Update Travis CI
Merge pull request #594 from Indiv0/update-travis-ci

Update Travis CI
Fixed unit tests