Improved Login template

The form has larger inputs and form-group classes.

The Sign In button is not displayed on the /login/ page now.
Added a Register template

and a /register/ view.
Replaced reqparse with a custom parser

The parser's code has been copied from Critiquebrainz.

A new method for 'anything' type has been added along with some other
miscellaneous changes.
Updated the create user API endpoint

Now uses the custom parser.

A 409 Error is raised if the user already exists.

201 Code is returned if the user is created, rather than 200.
[hack] Login the user after creation

This is BAD as the API should never be used to login a user, and is only
temporary.

Once we have a better registeration process (one invoving email id
verification) this can be changed.

The other fix might be to remove ajax and use a form similar to the
login page, but that means the create_user code gets duplicated.
Registeration form complete

Ajax call to /api/1/users/

Currently an alert message is set; in future, we can use popovers over
input boxes.
Added models for tags
Added views for tags
Basic implementaion of tags

Have to add a few more endpoints later.
Added a model for the tag-idea relationship
Alembic Overhaul

Re-named all the version files in a chronological order starting from a.

Added scripts for the tags and tagging tables.
Tagname made Unique with max length 50
Removed stuff from Tagging model
Updated Views for Tags

Creation now uses the Parser.

GET view for both tag_id and tagname.

DELETE view only for tagname. tag_id one can be added later.
Added tags/ideas properties

A list of Idea IDs are displayed when viewing the data of a tag.

Whereas, a list of Tagnames is displayed when viewing the data of an
idea.
Updated create idea views and model

Parser is used to parse the json data recieved.

Todo:

Markdown to HTML conversion.

Tagging support.
Updated delete idea endpoint

Login is required.

A 204 (No Content) is sent.
A Url property has been added to ideas

Github also does this.

Helps in redirection when an idea is created.
Add idea registeration form complete

Form similar to /register/

Bootstrap popovers are used instead of an alert message.

Todo:

Preview the content.

What should happen when user clicks Cancel?
Update Users and Ideas models

The json property is now created by manually entering the keys, rather
than getting them from vars. The method is laborious but it gives us
total control over what we want to display.

User's password, email address are not displayed in the json now, just
as they shouldn't be.

Also added a user property to ideas which displays basic data.