Loader fade in to stop white background on page load.

Made the loader fade in after a second to prevent background from
flashing white when the request is fast.
Styled single product pages

Made the single product pages (adding and updating) layout nicer to
handle.
Set site directories & rewrite to handle admin/frontend

The site now distinguishes between frontend (site) and admin
JavaScript for frontend site and on load events.
Issue #23 closed. Implemented category management.

Users can now add categories and add products to categories., updating
categories also works.
Uploading image for product. Closed issues #4 #25

The user can now upload an image for a product.
deleted media image
Fixed bug if image for product does not exist, set default image
Front end site displays menu (list of categories) and products

The site now displays the menu (list of categories) and each category
displays the respective products that are set to publish.
Front end now displays categories and individual products

The front end now displays the categories that are not set to -1, and
all the products under those categories, with pagination.
Set up code to handle searching of products.

Searching now works correctly, onKeyPress, still needs to be put on
screen, and on Enter key pressed.
Styled the form validation for adding & updating products
Allowed the user to press enter to search

On the search bar, as well as typing to search after a certain amount
of characters are present, the user can now alo press enter
Users can now add categories with spaces. Closed issue #38

The user can now add categories with spaces, and it doesn't break when
in the URL.
User can now change post status to categories and filter by status
Styled input errors for categories
Site now operates correctly independent of the directory it is in. Referencing Issue #44
Have now treated the concurrency bug with the initialisation of the database. Referencing Issue #43
Search box implemented, commit references issue #11

The user can now search for products in the 'public' area. Either by
title or by product code.
Implemented the beginning of the basket, covering issues #13 #14 #15

The site now allows users to add products to the basket, it increases
the quantity if the item is already present and calculates the total
price