Merge pull request #200 from softcup/master

fixed appCache.update error.
Performance improvements by disabling workers, adding http_wait to all api requests
Preload photo on mouseover
Fixed add member button
Fixed append message blink
Improved templates, thumb dir
Fix #18

Now PQ prime factorisation is performed with closure long library when
possible. It gives significant performance improvements (10x sometimes)