Started porting to 1.4.6.

Added APIs, IDEA project.
Added after build hook to handle forge and FML configs and textures.