Update fbp.json format and loading to handle multiple libraries

Also revert commit 78cd157b4bfa038ce749ce0bfe42a81cf4c282a8.
No need to copy component file from examples as we have library support in fbp.json now
Avoid using JSONObject.getNames(), does not exist on Android