Basically finish the upload function. Still need to complete the process the post arguments.
update upload
Merge branch 'master' of https://github.com/l741589/TXTReader

Conflicts:
	Server/src/upload.php
	Server/test/db_test.php
	Server/test/upload_test.php
Add CodeIgniter php framework to project.
Add session controller
Merge branch 'master' into WLB

Conflicts:
	Server/application/config/config.php
	Server/application/controllers/user_controller.php
	Server/application/models/user_model.php
	Server/src/libraries/db.php
	Server/tests/controllers/UserControllerTests.php
	Server/tests/models/UserModelTest.php
Finish login and signup
Finish upload function, but still need improve.
Upload unit test is still not finished.
Need complete book model and finish download and search part.
Finish download and search function. Not complete php unit test.
Need refactor book model
Merge remote-tracking branch 'origin/WLB' into WLB

Conflicts:
	Server/application/config/routes.php
	Server/application/controllers/download_controller.php
	Server/application/controllers/search_controller.php
	Server/application/controllers/user_controller.php
	Server/application/models/book_model.php
	Server/tests/controllers/UploadControllerTest.php
Finish return data format using json and define return codes (may still need improve). Not finish test. Need refactor book model.
Merge remote-tracking branch 'origin/WLB' into WLB

Conflicts:
	Server/application/controllers/download_controller.php
	Server/application/controllers/search_controller.php
	Server/application/controllers/user_controller.php
	Server/application/models/book_model.php
Fix some problems:
1. get_by_username is undefined, replaced with _get_by_username
2. when doing search, there are some return datas that are "false". Fix it by judge if it is false.
3. add return data when logging out.
Merge remote-tracking branch 'origin/WLB' into WLB
Fix problem that uploaded file cannot related to user.
Fix problem:
1. Chinese messy code in book name.
Fix messy code problems. Complete all function.
Merge remote-tracking branch 'origin/WLB'