Added simple casperJS tests for signin and register on NGW

@jamesgorrie helped to change shared.js to cater for the "profile." subdomain.

Added identity to the grunt file.

Created very simple tests for checking signin and registration components show on their pages.