Add basic file upload support

Conflicts:
	src/com/hanyun/dao/ResourceDAOImpl.java
	src/com/hanyun/model/impl/Resource.java