Commiting my changes to the fork.
Update dxr.css
Update dxr.js

Deleted the old unused function
Merge pull request #1 from mozilla/master
Update dxr.css
Update dxr.css
Added a .css class for icons and a coresponding css.png into the icons directory.
Fixing missing css rule and a few other things
I fixed the dissapearing .c icon class and it's appearance in other places where it shouldn't.
I changed a great bit of icons.css since it had outdated css rules.
Moved .icon-container there and applied rules that are common for all icons to it.
Changed folder.html in order to load new icon classes instead of a style property.
Add direct query capability for macros/typedefs. Fixes bug 1033677.
Fixing small details.
Moved the inline style form path_line.html into dxr.css as `.result-head a`.
Removed spaces from <a> in path_line.html
Merge branch 'master' of https://github.com/mozilla/dxr
Fixing bugs: 1053423, 1052524 and 965652
For 965652:
	dxr.css :
	Added a rule for .code code a in order to show availability of context-menus but limited in order not to overwrite a rule somewhere else.
For 1052524:
	file.html :
	Added the .icon class to all anchors in the panel
	dxr.css :
	Removed padding form (.panel section a) since it blocks the added .icon class
For 1053423:
	context_menu.html :
	Added the .icon class to all anchors in the list in order to have a pseudoparent class and eliminate a lot of repeating in icons.css
	dxr.css :
	Removed padding from (.context-menu a) since it blocks the added .icon class
	icons.css :
	Made a lot of changes and removed the repeating rules for background since they are no longer needed because of the .icon class
Other:
Fixed .build in icons.css that I missed it the last time.
Added comments in icons.css in order to show rearanged sections.
Added a lot missing icon classes which are referenced in .panel and .context-menu .
Since the .panel icons that are always shown are probably going to be redone they are commented out untill the time has come.
That's about it. Will mention if I find something else.
Merge branch 'master' of github.com:mozilla/dxr into macros-direct-result

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
Add test for case sensitivity precedence and separate test case for macros/typedefs
Fix typos.
Increment format version.

The changes to file.html need it in order for the new CSS to kick in properly.
Let folder context menus inherit the same padding as code context menus.
Indicate existence of context menus with cursor change: fix bug 965652. Fix repeated Diff icon: fix bug 1052524. Polish look of context menus: fix bug 1053423.
Fix locale issue

When you typo in the shell in vagrant, it'll provide better helpful text
rather than giving you locale errors.

Based on Ian's fix in fjord.
Redoing code-highlighter.js and dxr.css for better file display
Fixes bugs: 1006108 and 1055142
Here is how things used to work:
The file would be displayed as a table with two overlaying columns. Clicking the line number would change that line numbers background color, making it seem as if the user highlighted the code.
That lead following problems:
- long lines would be only partially highlighted
- line numbers with more than 3 digits aren't displayed properly
I fixed the above problems by standardisning the columns in a similar fashion like search results and tweaking the js to highlight both line number and code.
The auto scrolling didn't work properly because of bad handling of strings and integers. I cleared that up and changed the way the url's are changed and processed.
-----Changes to code-highlighter.js-----
Added function sortRangeAsc which sorts selection ranges both as strings or arrays.
In function generateSelectedArrays:
Changed the way multiSelected and singleSelected get their value (employed jQuery).
Made the function return sortedsingleLinesArray and  rangesArray.
In function setWindowHash:
Removed variables singles and ranges, which are no longer used for the display of the hash.
Added a loop that eliminates singleLines which are already a part of a range.
Added a loop that adds lines and ranges to the hash in order
- example now:    #12-15,17,20-25,30-33,42
- example before: #17,42,12-15,20-25,30-33
In function getSortedHashLines:
Seperated reCleanup. Added cleaning of whitespace upfront.
Changed the way ranges are sorted form string sorting to newly added function sortRangeAsc.
Changed the way a range is added to rangesArray in order to account for backward ranges (150-120 and such).
Made firstRange take an array as value instead of a string so that it's value can be compared and scrolling made possible.
Modified the way highlights is cleaned form trash.
If something slips through the process above added testing for NaN in highlights.
Repaired the if block that determines the position to be scrolled to.
Made the function return singleLinesArray and rangesArray for later convenience.
Big changes to the .line-number onClick events:
Moved the value assignment for variables to take place before the if block to avoid repetition.
lastSelected is now lastSelectedLine and includes both a .line-number and code element.
selected is replaced by selectedLineNums and selectedLineCode.