added search function and switched to Foundation 5.0

Fixes #41

Adds basic search functionality. 

 * `WHERE name LIKE '%query%'`
 * `ORDER BY is_active, name LIKE 'query%', name`
 * `LIMIT 50`

Also adds a warning about why packages are marked inactive.

I couldn’t get forms, tables and alerts to work properly, so I also switched to Foundation 5.0.
The appearance will have changed a bit.

TODO: link to generated JSON and add pagination/rows/sorts.

@tamlyn index is now `index.php`, this means nginx may have to be adjusted.

![screenshot search screen](https://cloud.githubusercontent.com/assets/1216046/5431823/bf757c4a-83fe-11e4-8783-a86a13c04392.png)