Fix errors and warnings when compiling with clang 3.4 and -std=c++11

This fixes two problems:

1) Warnings for 'register' storage class is deprecated

2) Errors for "invalid suffix on literal; C++11 requires
a space between literal and identifier"
Merge pull request #10 from southerngs/cpp11-fixes

Fix errors and warnings when compiling with clang 3.4 and -std=c++11