Fix running from localhost no workin in Global Storage Firefox 2

Firefox 2 has an issue that non dotted domains will no be accepted.
Using 'localhost.localdomain' as the host name is the recommended
solution.
Merge pull request #55 from Altaflux/master

Fix Firefox's GlobalStorage not saving data when using localhost domain.