Clean all libraries, apps and platforms on config ant clean.
Split lib-depends for libraries in lib-c-depends and lib-java-depends
Refactoring lib.xml
Building an application should now compile the Java parts of all required libraries. Not the C part since we don't know the platform when just compiling an application.
Fixes to make config ant scripts compile properly.