Feature/api improvements

Update /packages query api endpoints.

Changed the return format for the /packages query to include a list of versions for each package. Package list is grouped by package name.

Include node information in detail package query (/package/<id>)