IDI-127: fix permissions; move foundation css to lib