Changed Gruntfile to allow remote access when running server:dist.
Added/Fixed additional unit tests.