Write PolysquareCommon and add unit tests.
Merge pull request #2 from smspillaz/common-universal-cmake.item_2

Write PolysquareCommon and add unit tests.