Fix .gitignore to avoid ignoring prebuilt libraries.

Also, generally clean-up the .gitignores and farm off separate versions for the NuttX/Apps directories to keep things tidy.