Fixed some bugs, added test cases for log, removed the htaccess file and moved InfoarenaEnvironment in the libphutil project so it can be found for test cases

Test Plan: Unit Test

Reviewers: bogdan2412

CC: echipa-infoarena

Differential Revision: https://hackers.infoarena.ro/D23