second-stage/programs/features: Add test program for Java SWIG bindings
New Makefile target is "make swig-java-test".

--HG--
extra : rebase_source : 4e147c7c56d8db49cd6c68c82e46d267701140d1
swig/RerankingParser: Better error messages and now can be run either from root directory or swig/

--HG--
extra : rebase_source : 59e284f79e448977c85cb62f1217f4c499303e4d