Restrict base version bounds.

unsafePerformIO was finally deleted out of Foreign in base 4.7.
Merge pull request #1 from Fuuzetsu/base-restrict

Restrict base versions.
Remove some redundant brackets
Version 1.2.2